<include file="./Application/Admin/View/Public/htmlheader.html" />
<include file="./Application/Admin/View/Public/header.html" />
<include file="./Application/Admin/View/Public/left.html" />

<ol class="breadcrumb">
    <li><a href="/Admin/LiveUrl">直播地址列表</a></li>
    <li class="active">修改直播地址</li>
</ol>
<form action="/Admin/LiveUrl/save" method="post">
    <div class="row">
        <div class="col-lg-3 text-right"><span class="red">*</span>直播主地址：</div>
        <div class="col-lg-3"><input type="text" name="address" value="{$liveUrl['address']}" class="form-control" /></div>
    </div>
    <br />
    <div class="row">
        <div class="col-lg-3 text-right"><span class="red">*</span>直播通道名称：</div>
        <div class="col-lg-3"><input type="text" name="channel" value="{$liveUrl['channel']}" class="form-control" /></div>
    </div>
    <br />
    <div class="row">
        <div class="col-lg-3 text-right"><span class="red">*</span>播放地址：</div>
        <div class="col-lg-3"><input type="text" name="play" value="{$liveUrl['play']}" class="form-control" /></div>
    </div>
    <input type="hidden" name="id" value="{$liveUrl['id']}">
    <br />
    <div class="row">
        <div class="col-lg-3 text-right"><span class="red">*</span>状态：</div>
        <div class="col-lg-3">
            <if condition="$liveUrl['status'] eq 0">
                <input type="radio" name="status" value="0" checked> <span class="red">关闭</span>
                <input type="radio" name="status" value="1"> <span class="green">起用</span>
                <else />
                <input type="radio" name="status" value="0"> <span class="red">关闭</span>
                <input type="radio" name="status" value="1" checked> <span class="green">起用</span>
            </if>
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-lg-3"></div>
        <div class="col-lg-3"><button type="submit" class="btn btn-primary">确定</button></div>
    </div>
</form>

<include file="./Application/Admin/View/Public/footer.html" />